/*
 * @Author: GongSaiPeng
 * @Date: 2024-03-16 19:18:22
 * @LastEditTime: 2024-03-16 19:36:44
 * @LastEditors: GongSaiPeng
 * @Description: 
 * @FilePath: \main-app\vite.config.ts
 */
import { fileURLToPath, URL } from 'node:url'

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'

import VueSetupExtend from 'vite-plugin-vue-setup-extend'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    vue(),
    vueJsx(),
    VueSetupExtend()
  ],
  resolve: {
    alias: {
      '@': fileURLToPath(new URL('./src', import.meta.url))
    }
  }
})
